package cn.school.studyManage.service;

import cn.school.studyManage.dto.StudentBehaviorCfgDTO;
import cn.school.studyManage.entity.StudentBehaviorCfg;
import cn.school.studyManage.vo.StudentBehaviorCfgQueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

public interface StudentBehaviorCfgService extends IService<StudentBehaviorCfg> {

    /**
     * 分页查询配置列表
     * @param vo
     * @return
     */
    IPage<StudentBehaviorCfg> findCfgPageList(StudentBehaviorCfgQueryVo vo);

    boolean createOrUpdateCfg(StudentBehaviorCfgDTO dto);

    /**
     * 删除配置
     * @param id
     * @return
     */
    boolean delCfg(Long id);

    StudentBehaviorCfg findCfgByTeacher();
}

